package com.ght.springboot.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @description: ElasticSearch 搜索结果
 * @author: haitao.gao
 * @create: 2019-02-12 11:24
 **/
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResultDocs<T> {

    /**
     * 搜索结果Json
     */
    @JsonProperty("docs")
    private List<Docs<T>> docsList;

}


